import componentSetting from '@/settings/componentSetting';

// 从componentSetting中获取table属性
const { table } = componentSetting;

// 从table属性中解构赋值获取apiSetting、defaultPageSize和pageSizes
const { apiSetting, defaultPageSize, pageSizes } = table;

// 将defaultPageSize赋值给常量DEFAULTPAGESIZE
export const DEFAULTPAGESIZE = defaultPageSize;

// 将apiSetting赋值给常量APISETTING
export const APISETTING = apiSetting;

// 将pageSizes赋值给常量PAGESIZES
export const PAGESIZES = pageSizes;
